<?php

use Illuminate\Database\Seeder;

class LinksTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $date=[
            [
                'link_title'=>'中国最大的搜索引擎',
                'link_name'=>'百度',
                'link_url'=>'https://www.baidu.com/',
                'link_order'=>1

            ],
            [
                'link_title'=>'中国最早的搜索引擎',
                'link_name'=>'搜狗',
                'link_url'=>'https://www.sogou.com/',
                'link_order'=>2

            ]
            ];
        \Illuminate\Support\Facades\DB::table('links')
                                                    ->insert($date);
    }
}
